﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020008EB RID: 2283
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HeliobusInfoChangedScNotify : IMessage<HeliobusInfoChangedScNotify>, IMessage, IEquatable<HeliobusInfoChangedScNotify>, IDeepCloneable<HeliobusInfoChangedScNotify>, IBufferMessage
	{
		// Token: 0x17001CE2 RID: 7394
		// (get) Token: 0x0600664D RID: 26189 RVA: 0x00112D53 File Offset: 0x00110F53
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HeliobusInfoChangedScNotify> Parser
		{
			get
			{
				return HeliobusInfoChangedScNotify._parser;
			}
		}

		// Token: 0x17001CE3 RID: 7395
		// (get) Token: 0x0600664E RID: 26190 RVA: 0x00112D5A File Offset: 0x00110F5A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HeliobusInfoChangedScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001CE4 RID: 7396
		// (get) Token: 0x0600664F RID: 26191 RVA: 0x00112D6C File Offset: 0x00110F6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HeliobusInfoChangedScNotify.Descriptor;
			}
		}

		// Token: 0x06006650 RID: 26192 RVA: 0x00112D73 File Offset: 0x00110F73
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusInfoChangedScNotify()
		{
		}

		// Token: 0x06006651 RID: 26193 RVA: 0x00112D88 File Offset: 0x00110F88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusInfoChangedScNotify(HeliobusInfoChangedScNotify other) : this()
		{
			this.kGKACGAPGIJ_ = other.kGKACGAPGIJ_;
			this.nJJNAMJGOHD_ = other.nJJNAMJGOHD_.Clone();
			this.nCPHFIDNGHE_ = other.nCPHFIDNGHE_;
			this.phase_ = other.phase_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006652 RID: 26194 RVA: 0x00112DE1 File Offset: 0x00110FE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusInfoChangedScNotify Clone()
		{
			return new HeliobusInfoChangedScNotify(this);
		}

		// Token: 0x17001CE5 RID: 7397
		// (get) Token: 0x06006653 RID: 26195 RVA: 0x00112DE9 File Offset: 0x00110FE9
		// (set) Token: 0x06006654 RID: 26196 RVA: 0x00112DF1 File Offset: 0x00110FF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KGKACGAPGIJ
		{
			get
			{
				return this.kGKACGAPGIJ_;
			}
			set
			{
				this.kGKACGAPGIJ_ = value;
			}
		}

		// Token: 0x17001CE6 RID: 7398
		// (get) Token: 0x06006655 RID: 26197 RVA: 0x00112DFA File Offset: 0x00110FFA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<PDDIMHHHMKL> NJJNAMJGOHD
		{
			get
			{
				return this.nJJNAMJGOHD_;
			}
		}

		// Token: 0x17001CE7 RID: 7399
		// (get) Token: 0x06006656 RID: 26198 RVA: 0x00112E02 File Offset: 0x00111002
		// (set) Token: 0x06006657 RID: 26199 RVA: 0x00112E0A File Offset: 0x0011100A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NCPHFIDNGHE
		{
			get
			{
				return this.nCPHFIDNGHE_;
			}
			set
			{
				this.nCPHFIDNGHE_ = value;
			}
		}

		// Token: 0x17001CE8 RID: 7400
		// (get) Token: 0x06006658 RID: 26200 RVA: 0x00112E13 File Offset: 0x00111013
		// (set) Token: 0x06006659 RID: 26201 RVA: 0x00112E1B File Offset: 0x0011101B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Phase
		{
			get
			{
				return this.phase_;
			}
			set
			{
				this.phase_ = value;
			}
		}

		// Token: 0x0600665A RID: 26202 RVA: 0x00112E24 File Offset: 0x00111024
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HeliobusInfoChangedScNotify);
		}

		// Token: 0x0600665B RID: 26203 RVA: 0x00112E34 File Offset: 0x00111034
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HeliobusInfoChangedScNotify other)
		{
			return other != null && (other == this || (this.KGKACGAPGIJ == other.KGKACGAPGIJ && this.nJJNAMJGOHD_.Equals(other.nJJNAMJGOHD_) && this.NCPHFIDNGHE == other.NCPHFIDNGHE && this.Phase == other.Phase && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600665C RID: 26204 RVA: 0x00112EA4 File Offset: 0x001110A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.KGKACGAPGIJ != 0U)
			{
				num ^= this.KGKACGAPGIJ.GetHashCode();
			}
			num ^= this.nJJNAMJGOHD_.GetHashCode();
			if (this.NCPHFIDNGHE != 0U)
			{
				num ^= this.NCPHFIDNGHE.GetHashCode();
			}
			if (this.Phase != 0U)
			{
				num ^= this.Phase.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600665D RID: 26205 RVA: 0x00112F23 File Offset: 0x00111123
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600665E RID: 26206 RVA: 0x00112F2B File Offset: 0x0011112B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600665F RID: 26207 RVA: 0x00112F34 File Offset: 0x00111134
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.nJJNAMJGOHD_.WriteTo(ref output, HeliobusInfoChangedScNotify._repeated_nJJNAMJGOHD_codec);
			if (this.Phase != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Phase);
			}
			if (this.NCPHFIDNGHE != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.NCPHFIDNGHE);
			}
			if (this.KGKACGAPGIJ != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.KGKACGAPGIJ);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006660 RID: 26208 RVA: 0x00112FBC File Offset: 0x001111BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.KGKACGAPGIJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KGKACGAPGIJ);
			}
			num += this.nJJNAMJGOHD_.CalculateSize(HeliobusInfoChangedScNotify._repeated_nJJNAMJGOHD_codec);
			if (this.NCPHFIDNGHE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NCPHFIDNGHE);
			}
			if (this.Phase != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Phase);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006661 RID: 26209 RVA: 0x00113040 File Offset: 0x00111240
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HeliobusInfoChangedScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.KGKACGAPGIJ != 0U)
			{
				this.KGKACGAPGIJ = other.KGKACGAPGIJ;
			}
			this.nJJNAMJGOHD_.Add(other.nJJNAMJGOHD_);
			if (other.NCPHFIDNGHE != 0U)
			{
				this.NCPHFIDNGHE = other.NCPHFIDNGHE;
			}
			if (other.Phase != 0U)
			{
				this.Phase = other.Phase;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006662 RID: 26210 RVA: 0x001130B5 File Offset: 0x001112B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006663 RID: 26211 RVA: 0x001130C0 File Offset: 0x001112C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 56U)
				{
					if (num == 42U)
					{
						this.nJJNAMJGOHD_.AddEntriesFrom(ref input, HeliobusInfoChangedScNotify._repeated_nJJNAMJGOHD_codec);
						continue;
					}
					if (num == 56U)
					{
						this.Phase = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 88U)
					{
						this.NCPHFIDNGHE = input.ReadUInt32();
						continue;
					}
					if (num == 96U)
					{
						this.KGKACGAPGIJ = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002723 RID: 10019
		private static readonly MessageParser<HeliobusInfoChangedScNotify> _parser = new MessageParser<HeliobusInfoChangedScNotify>(() => new HeliobusInfoChangedScNotify());

		// Token: 0x04002724 RID: 10020
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002725 RID: 10021
		public const int KGKACGAPGIJFieldNumber = 12;

		// Token: 0x04002726 RID: 10022
		private uint kGKACGAPGIJ_;

		// Token: 0x04002727 RID: 10023
		public const int NJJNAMJGOHDFieldNumber = 5;

		// Token: 0x04002728 RID: 10024
		private static readonly FieldCodec<PDDIMHHHMKL> _repeated_nJJNAMJGOHD_codec = FieldCodec.ForMessage<PDDIMHHHMKL>(42U, PDDIMHHHMKL.Parser);

		// Token: 0x04002729 RID: 10025
		private readonly RepeatedField<PDDIMHHHMKL> nJJNAMJGOHD_ = new RepeatedField<PDDIMHHHMKL>();

		// Token: 0x0400272A RID: 10026
		public const int NCPHFIDNGHEFieldNumber = 11;

		// Token: 0x0400272B RID: 10027
		private uint nCPHFIDNGHE_;

		// Token: 0x0400272C RID: 10028
		public const int PhaseFieldNumber = 7;

		// Token: 0x0400272D RID: 10029
		private uint phase_;
	}
}
